package db6;

 class SalariedEmployee extends ColaEmployee {
    private double monthsalary;
    public SalariedEmployee(String name,int bir,double monthsalary){
        super(name,bir);
        this.monthsalary=monthsalary;
    }
    @Override
     public double getSalary(int month){

        return super.getSalary(month) +monthsalary;
    }
}
